package cn.iocoder.yudao.module.wms.controller.admin.rdrecord07.vo;

import cn.iocoder.yudao.module.wms.dal.dataobject.rdrecord07.Rdrecords07DO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 调拨出库主新增/修改 Request VO")
@Data
public class Rdrecord07SaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14002")
    private Long id;

    @Schema(description = "流水号")
    private String serialNumber;

    @Schema(description = "业务员id", example = "5545")
    private Long personId;

    @Schema(description = "部门id", example = "7444")
    private Long deptId;

    @Schema(description = "调入仓库id", example = "16044")
    private Long inWarehouseId;

    @Schema(description = "调出仓库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4862")
    @NotNull(message = "调出仓库id不能为空")
    private Long outWarehouseId;

    @Schema(description = "订单日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "订单日期不能为空")
    private LocalDateTime orderDate;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "审核人")
    private String auditor;

    @Schema(description = "审核时间")
    private LocalDateTime auditTime;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "流程实例id")
    private String processInstanceId;

    @Schema(description = "调拨出库子列表")
    private List<Rdrecords07DO> rdrecords07s;

}